package com.aaa.ssm.config;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.swing.plaf.PanelUI;

@Component
public class MySchedule {
    @Scheduled(cron = "10/10 * * * * ? ")
    public void test(){
        System.out.println("定时任务执行了");
    }
}
